import axios from './lib/axios';


let axiosCatApi =  'https://api.thecatapi.com/v1/images/'
const axiosCat = axios.axios.create({
    // 默认地址/基准地址
    baseURL: axiosCatApi,
    // 设置请求的间隔时长
    timeout:5000
})

export function getForCatPrcChats(params = { limit: 1 }) {
    return axiosCat({
        url: "search",
        method: 'get',
        params
    })
}